package ca.etsmtl.log720.lab1;
import java.lang.*;

public class InfractionImpl extends InfractionPOA
{
		private int _id;
		private String _description;
		private int _niveau;
		
		public InfractionImpl(int id, String description, int niveau)
		{
		this._id = id;
		this._description = description;
		this._niveau = niveau;
		}


		public int id()
		{
			return _id;
		}
		
		public int niveau()
		{
			return _niveau;
		}
		
		
		public String description()
		{
			return _description;
		}
		
		public String _toString()
		{
			return "Infraction id" + _id + " niveau " + _niveau + " : " + _description ;
		}
		
}
